<template>
  <!-- <el-row>
    <el-button>默认按钮</el-button>
    <el-button type="primary">主要按钮</el-button>
    <el-button type="success">成功按钮</el-button>
    <el-button type="info">信息按钮</el-button>
    <el-button type="warning" :plain="false">警告按钮</el-button>
    <el-button type="danger">危险按钮</el-button>
  </el-row> -->
  <div>
    <van-button type="primary">主要按钮</van-button>
    <van-button type="success">成功按钮</van-button>
    <van-button type="default">默认按钮</van-button>
    <van-button type="warning">警告按钮</van-button>
    <van-button type="danger">危险按钮</van-button>
  </div>
</template>
<script>
import Vue from "vue";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

import Vant from "vant";
import "vant/lib/index.css";
Vue.use(Vant); //Vant   use相当于是全局的组件,导入了全部

Vue.use(ElementUI); //使用ElementUI组件

export default {
  methods: {
    ceshi(){
      location.href = "xx"
    }
  }
};
</script>
